<?php include'views/templates/layouts/backend/header.php'; ?>
    <div class="row-fluid">
        <div class="span12">
            <div class="widget-box">
                <div class="widget-title">
								<span class="icon">
									<i class="icon-align-justify"></i>
								</span>
                    <h5>Text inputs</h5>
                </div>
                <div class="widget-content nopadding">
<?php
while($row = mysqli_fetch_array($listReport))
{
    ?>
                    <form action="index.php?controller=report&action=edit" method="post" class="form-horizontal">
                        <div class="control-group">
                            <label class="control-label">Title</label>
                            <div class="controls">
                                <input type="hidden" name="id" value="<?php echo $row[0] ?>">
                                <input type="text" name="title" value="<?php echo $row[2] ?>"/>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">Content</label>
                            <div class="controls">
                                <textarea  name="content"><?php echo $row[3] ?></textarea>
                            </div>
                        </div>
                        <div class="form-actions">
                            <button name="btn_submit" type="submit" class="btn btn-primary">Save</button>
                        </div>
                    </form>
<?php }?>
                </div>
            </div>
        </div>
    </div>

<?php include'views/templates/layouts/backend/footer.php'; ?>